package kathy_java6.cap5;

public class Program13 {
	public static void main(String[] args) {
		foreach:
			for(int x = 0; x < 5; x++){
				for(int j = 0; j < 3; j++){
					System.out.print(" " + x);
					if(x == 3 && j ==1)
						break foreach;
					if(x == 0 || x == 2)
						break;					
				}									
			}
	}
}
